package com.abc.client;

import com.abc.shared.Classification;
import com.abc.shared.ClassifiedItem;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("greet")
public interface GreetingService extends RemoteService {
	String greetServer(String name) throws IllegalArgumentException;
	Classification<Classification> getClassification();
	ClassifiedItem getClassifiedItem(int itemid);
	ClassifiedItem updateItem(ClassifiedItem item);
	ClassifiedItem addItem(ClassifiedItem item);
	Boolean deleteBranch(int itemid);
	Boolean updateParent(int newparent, int itemid);
}
